/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Inheritance.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.Inheritance.Imp.Box;

import za.ac.cput.Inheritance.Rectangle;

/**
 *
 * @author Avis
 */
@Configurable
public class AppBox 
{
  @Bean(name="avi")
   public Rectangle rec()
  {
      return new Box();
  }
}
